package com.farmpost.server;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

//@MapperScan(basePackages = {"com.farmpost.server.mapper"})
@EnableEurekaClient
@SpringBootApplication
@EnableGlobalMethodSecurity(securedEnabled = true, prePostEnabled = true)
@Slf4j
public class FarmPostApplication {
    public static void main(String[] args) {
        String s = "测试测试测试测试测试测试测试测试";
        log.info("日志测试：{}", s);
        SpringApplication.run(FarmPostApplication.class, args);
    }
}
